#ifndef AUDIO_DRC_H
#define AUDIO_DRC_H
#ifdef __cplusplus
extern "C" {
#endif

typedef struct DrcHandleT DrcHandle;
typedef struct {
	DrcHandle* handle;
	int cell_num;
	float *sp,*out;
} DrcHandle_t;

DrcHandle* audio_process_drc_create();

int audio_process_drc_set_config(DrcHandle *handle,int samplerate, int threshold1, float ratio, int threshold2, int mode, float supPoint, float supExp);
void audio_process_drc_process(DrcHandle* handle, const float* const* spframe, float* const* outframe);

void audio_process_drc_free(DrcHandle *handle);

#ifdef __cplusplus
}
#endif
#endif

